//start explorer z:
//读取文件
//  e:\222\exp.bat  "E:\exp.jpg" "李a哥,上海市闵行区吴浦路15号,13512345678,艾龙,艾伦的地址地址地址地址,13640685012" "153-102,106-194,181-235,509-103,475-184,512-248"  "E:\exp2_aa.jpg" 
set txt=e:\dom.txt
//保存结果的目录
set savedir= e:\mailRzt2

-----------正式代码
if exist "%~dp0AutoHotKey"  ( set ahk_home=%~dp0AutoHotKey)
 
 if exist "%~dp0ATIBROW\AutoHotKey"   set ahk_home=%~dp0ATIBROW\AutoHotKey

 set atibrow_home=%~dp0
if exist %~dp0AtiBrow  set atibrow_home=%~dp0AtiBrow
 

 
 set java_home=%~dp0jre
#if exist d:\jdk1.7.0_0132bit ( set java_home=d:\jdk1.7.0_0132bit)
 

echo %ahk_home%  %atibrow_home%  %java_home%


//start %ahk_home%\AutoHotKey.exe  %atibrow_home%\actPlayWin.ahk
rem %~dp0AutoHotKey\AutoHotKey.exe  %~dp0actPlayWin.ahk
 
 
set javaexec="%java_home%\bin\java.exe"
  
rem a  start explorer z:
%javaexec%  -classpath ".;.\classes;%~dp0bin;%atibrow_home%\bin" -Djava.ext.dirs="%~dp0lib;%atibrow_home%\lib"   -Djava.library.path="%~dp0dll;%atibrow_home%\dll"   com.attilax.img.ExpressRecipt %1 %2 %3 %4
